html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

*{
    box-sizing: border-box;
}

:focus {
    outline: 1;
}

article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary {
    display: block;
}

nav ul,li {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

a {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    text-decoration: none;
}

ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none;
}

mark {
    background-color: #ff9;
    color: #000;
    font-style: italic;
    font-weight: bold;
}

del {
    text-decoration: line-through;
}

abbr[title],
dfn[title] {
    border-bottom: 1px dotted #000;
    cursor: help;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #cccccc;
    margin: 1em 0;
    padding: 0;
}

input,
select,
textarea {
    outline: none;
    vertical-align: middle;
    border: 0;
}

label{
    font-weight: normal;
}

html{
    height: 100%;
}

body {
    font-size: 14px;
    font-family: Open Sans, Microsoft Yahei, sans-serif;
    color: #373737;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    background: #f5f5f5;
    position: relative;
    min-height: 100%;
    padding-bottom: 70px;
}

a {
    cursor: pointer;
}

a:hover {
    text-decoration: none;
}

i,em{
    font-style: normal;
}

input{
    outline: none;
}

/* 左右浮动 */
.fl{
    float: left;
}
.fr{
    float: right;
}

/* 清除浮动 */
.clearfix,
.clearfix::before,
.clearfix::after{
    display: block;
    clear: both;
}

.hidden{
    display: none !important;
}

/* flex布局 */
.displayflex{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
}

.flexitem{
    display: inline-flex;
    white-space: nowrap;
}

.flex1{
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.flex2{
    -webkit-box-flex: 2;
    -moz-box-flex: 2;
    -webkit-flex: 2;
    -ms-flex: 2;
    flex: 2;
}

/* 图片居中 */
.rela-img{
    position: relative;
}
.rela-img img{
    position: absolute; 
    top: 0; 
    right: 0; 
    bottom: 0; 
    left: 0; 
    margin: auto; 
    padding: 0; 
    max-width: 100%; 
    max-height: 100%;
}

/* 文字排列 */
.text-left{
    text-align: left;
}
.text-center{
    text-align: center;
}
.text-right{
    text-align: right;
}

/* 文字颜色 */
.red{
    color: red;
}

/* 基本宽度 */
.w100{
    width: 100%;
}
.w67{
    width: 67%;
}
.w50{
    width: 50%;
}
.w33{
    width: 33.3%;
}
.h-auto{
    height: auto !important;
}

/* 页码 */
#page {
    text-align: center;
}

.pagination {
    display: block !important;
    text-align: center;
}
.pagination>li{
    display: inline-block;
    vertical-align: middle;
}

.pagination>li>a,
.pagination>li>span {
    float: none;
    display: block;
    min-width: 34px;
    height: 32px;
    line-height: 32px;
    padding: 0 6px;
}
.pagination>li>a {
    color: #4fa1a4;
    border: 1px solid #c8c8c8;
    border-radius: 8px;
    background-color: #f5f5f5;
    margin: 0 5px;
}

#page .pagination>li>span,
.pagination>li>span:hover,
.pagination>li>span:focus {
    color: #373737;
    border: 0;
}

.pagination>li:first-child>a,
.pagination>li:first-child>span {
    border-radius: 8px;
}

.pagination>li:last-child>a,
.pagination>li:last-child>span {
    border-radius: 8px;
}

.pagination>.unclickable>a,
.pagination>.unclickable>a:hover,
.pagination>.unclickable>a:focus {
    color: #c8c8c8;
    background-color: #ddd;
    border-color: #c8c8c8;
    cursor: default;
}

.pagination>li>a:hover,
.pagination>li>a:focus {
    color: #4fa1a4;
    border-color: #4fa1a4;
    background-color: #f5f5f5;
    z-index: 2;
}

.pagination>.active>a,
.pagination>.active>span,
.pagination>.active>a:hover,
.pagination>.active>span:hover,
.pagination>.active>a:focus,
.pagination>.active>span:focus {
    color: #fff;
    background-color: #4fa1a4;
    border-color: #4fa1a4;
}

.pagination-detail {
    display: inline-block;
    margin-left: 0;
    left: 10px;
}
